home *** CD-ROM | disk | FTP | other *** search
- GetDiskUnitID.bas - Simple disk.resource example
- ================================================
-
- Derived from RKM example (c) Copyright 1992 Commodore-Amiga, Inc.
-
- This is a straightforward translation of the Commodore disk.resource example
- taken from the Devices RKM p.336.
-
- The example shows simple use of a resource: opening the resource, attaching it
- as a library base pointer and calling routines from within it.
-
- The example will work on all non-obsolete versions of Workbench (V33 and
- above).
-
- Compiling
- ---------
- Load the GetDiskUnitID_inc.bh file and Tokenise it (Program-Tokenise), making
- sure you have no token file selected in the File Options (Settings-Compiler-
- Files). Once you have your token file, set the File Options-Token File setting
- to the GetDiskUnitID_inc.t file just created. Load the GetDiskUnitID.bas file,
- compile & run it.
-